<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupGetChild</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
	text-decoration: underline;
}
</style>
</head>
<body>

<h2>IupGetChild</h2>
<p>Returns the a child of the control given its position.</p>
<h3>
Parameters/Return</h3>
<div>
  <pre>Ihandle *IupGetChild(Ihandle*<strong> ih</strong>, int<strong> pos</strong>); [in C]
iup.GetChild(<strong>ih: </strong>ihandle<strong>, pos</strong>: number) -&gt; <strong>child</strong>: ihandle [in Lua]</pre>
</div>
<div>
  <b>ih</b>: identifier of the interface element.<br>
	<strong>pos</strong>: position of the desire child starting at 0.<br>
<p><span class="style1">Returns:</span> the child or NULL if there is none.</p>
</div>
<h3>Notes</h3>
<p>This function will return the children of the control in the exact same order in which they were assigned.</p>
<h3>See Also</h3>
<p><a href="iupgetchildpos.html">IupGetChildPos</a>, 
<a href="iupgetnextchild.html">IupGetNextChild</a>, 
<a href="iupgetbrother.html">IupGetBrother</a>, <a href="iupgetparent.html">IupGetParent</a></p>

</body>

</html>
